논문 해설
Flow-of-Options: Diversified and Improved LLM Reasoning by Thinking Through Options
Flow-of-Options: 옵션을 통해 사고하여 다양화되고 향상된 LLM 추론
- 연구 문제 LLM은 pre-training 데이터의 선호에 따라 특정 머신러닝 모델을 반복 제안하여 자동화 머신러닝의 해법 다양성을 제한합니다.
- 연구 방법 Flow-of-Options는 단계별 옵션을 깊이별 네트워크로 열거하고, 빔 탐색과 max update로 walk를 평가하며, 사례 기반 추론으로 과거 네트워크를 재사용합니다.
- 주요 결과 16개 일반 데이터 과학 과제와 17개 TDC ADME-Tox 과제에서 FoO 기반 프레임워크는 제시된 기준선 집합에 대해 평균 순위 개선을 보고합니다.
LLM 추론의 편향과 자동화 머신러닝의 한계
대규모 언어모델은 pre-training 데이터에서 자주 보던 선택지를 우선하는 경향이 있습니다. 원문 실험에서 zero-shot GPT-4o와 o1은 Scikit-learn을 사용할 때 랜덤 포레스트에 치우친 해법을 제안합니다. 이런 편향은 에이전트가 더 나은 선택지를 탐색하지 못하게 만들어 자동화 머신러닝 시스템의 해법 다양성을 제한합니다.

Figure 2 : Proportion and diversity of LLM outputs for solving therapeutic chemistry tasks using Sklearn. FoO boosts the LLM’s output diversity, enabling the LLM to explore a wider range of solutions for a task (R – regressor, C – classifier).
원문 · CC BY 4.0 · Lakshmi Nair, Ian Trase, Mark Kim · Flow-of-Options: Diversified and Improved LLM Reasoning by Thinking Through Options · 원문 그림 인용 · 원본 PDF 2쪽에서 그림 영역을 추출했습니다.기존 DS-Agent는 사례 기반 추론으로 편향을 우회하지만, 사람이 만든 대규모 해결 저장소를 필요로 합니다. 이 논문은 LLM 자체의 지식을 사람의 통찰을 대신하는 자원으로 쓸 수 있다고 보고, 실행 전에 단계별 옵션을 명시적으로 열거하는 Flow-of-Options를 제안합니다.
FoO 네트워크의 구성과 walk 탐색
FoO는 작업 계획의 각 단계 i에 대해 LLM으로 k개의 옵션을 샘플링하고, 각 옵션을 네트워크의 노드로 둡니다. 깊이 i의 노드들은 깊이 i-1의 모든 노드와 간선으로 연결되며, 같은 깊이 안에는 간선이 없습니다. LLM은 옵션을 생성하는 데만 쓰이고 네트워크 구조 자체를 만들지는 않습니다.

Figure 18 : Examples of flow-of-options networks with varying depths (shown for the RL and clustering tasks). Paths with a value of −1000.0 are unexplored paths (either due to consistency check failures or because the walks were not sampled). The tree on the right demonstrates one of the system’s limitations regarding generation of similar options in some cases (e.g., Nodes 1 and 3).
원문 · CC BY 4.0 · Lakshmi Nair, Ian Trase, Mark Kim · Flow-of-Options: Diversified and Improved LLM Reasoning by Thinking Through Options · 원문 그림 인용 · 원본 PDF 21쪽에서 그림 영역을 추출했습니다.탐색은 깊이마다 옵션을 하나씩 고른 walk로 이루어집니다. walk를 코드로 실행해 얻은 지표 R은 경로의 간선에 max update로 전파되며, 이후 탐색은 값이 높은 상위 b개 옵션에서 샘플링하는 빔 탐색으로 진행됩니다. 일관성 검사 LLM은 같은 walk 안에서 서로 다른 모델을 고르는 등 모순된 경로를 제외합니다.

Figure 5 : Illustrative example of our agentic workflow.Φ → F2 retains the max value of 0.98 observed on that edge.
원문 · CC BY 4.0 · Lakshmi Nair, Ian Trase, Mark Kim · Flow-of-Options: Diversified and Improved LLM Reasoning by Thinking Through Options · 원문 그림 인용 · 원본 PDF 4쪽에서 그림 영역을 추출했습니다.사례 기반 추론과 적응을 결합한 프레임워크
프레임워크는 사례 저장소에 과거 작업, FoO 네트워크, 최적 보상을 함께 저장합니다. 새 작업이 들어오면 임베딩 유사도가 가장 높은 사례를 검색하고, 유사도가 임계값을 넘으면 Adapter가 계획과 FoO를 새 문제에 맞게 수정합니다. 임계값 아래이면 빈 저장소와 같은 개발 절차를 따릅니다.

Figure 1 : Overview of our Flow-of-Options based agentic framework incorporating Case-Based Reasoning (CBR).
원문 · CC BY 4.0 · Lakshmi Nair, Ian Trase, Mark Kim · Flow-of-Options: Diversified and Improved LLM Reasoning by Thinking Through Options · 원문 그림 인용 · 원본 PDF 1쪽에서 그림 영역을 추출했습니다.
Figure 19 : Example of the adapter LLM adapting the task description from Caco-2 cell permeability to Solubility prediction task in TDC. Each number marks a node in the network along with its description. The network structure is unchanged since the network is reused, but the description of the nodes are adapted to the new task.
원문 · CC BY 4.0 · Lakshmi Nair, Ian Trase, Mark Kim · Flow-of-Options: Diversified and Improved LLM Reasoning by Thinking Through Options · 원문 그림 인용 · 원본 PDF 21쪽에서 그림 영역을 추출했습니다.
Figure 20 : Example of the adapter LLM adapting the model from a regression task to a classification task.
원문 · CC BY 4.0 · Lakshmi Nair, Ian Trase, Mark Kim · Flow-of-Options: Diversified and Improved LLM Reasoning by Thinking Through Options · 원문 그림 인용 · 원본 PDF 22쪽에서 그림 영역을 추출했습니다.개발 단계에서는 계획을 만들고 옵션을 생성한 뒤 T번의 탐색 반복을 수행하고, 완성된 FoO를 사례 저장소에 추가합니다. 배포 단계에서는 옵션 생성을 하지 않고 b=1, j=1, T=1로 저장된 최고 값 walk를 직접 샘플링하여 비용과 시간을 줄입니다.

Figure 3 : Overview of Flow-of-Options incorporated into an agentic framework for automating ML tasks. When starting with an empty case bank, a task plan and FoO is generated, evaluated and updated in the case bank (development). With a non-empty case bank, the closest case is retrieved and adapted to the new task. Further, either new options are explored (development), or the adapted FoO and task plan are directly used (deployment), based on the user’s preference.
원문 · CC BY 4.0 · Lakshmi Nair, Ian Trase, Mark Kim · Flow-of-Options: Diversified and Improved LLM Reasoning by Thinking Through Options · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.
Table 3 : Resource comparisons between LLM-based agentic systems. Autogen and zero-shot consume low time and cost. Our framework has negligible deployment time and cost.
원문 · CC BY 4.0 · Lakshmi Nair, Ian Trase, Mark Kim · Flow-of-Options: Diversified and Improved LLM Reasoning by Thinking Through Options · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.일반 데이터 과학 과제의 비교
16개 일반 데이터 과학 과제에서 FoO 기반 프레임워크는 평균 순위 1.44를 기록했습니다. 원문은 이를 기준선 대비 38.2%에서 69.2% 순위 개선으로 보고합니다. 이 비교는 같은 프롬프트와 고정 시드를 쓴 세 번의 독립 실행으로 얻은 결과입니다.
이 과제 집합에서 DS-Agent와 본 방법은 7개 과제에서 개발을 수행하고 나머지 과제에서 배포합니다. Data Interpreter는 일부 실행에서 코드를 만들지 못했으므로, 결과의 해석에는 기준선별 실패 조건을 함께 고려해야 합니다.

Table 12 : Ranking relative advantages and disadvantages of the methods. DI refers to Data-Interpreter.
원문 · CC BY 4.0 · Lakshmi Nair, Ian Trase, Mark Kim · Flow-of-Options: Diversified and Improved LLM Reasoning by Thinking Through Options · 원문 그림 인용 · 원본 PDF 18쪽에서 그림 영역을 추출했습니다.TDC ADME-Tox 과제의 비교
17개 TDC ADME-Tox 과제에서 FoO 기반 프레임워크는 평균 순위 1.47을 기록했고, 원문은 기준선 대비 37.4%에서 47.9% 개선으로 보고합니다. 이 비교에서는 Zero-shot, Autogen, DeepMol을 기준선으로 사용합니다. DS-Agent, AutoGluon, SELA, Data Interpreter는 원문에 기술된 이유로 이 비교에서 제외됩니다.

Table 2 : Performance of our FoO-based framework compared to baselines on TDC ADME-Tox tasks (Task abbr. in Table 6). Development is performed over Absorption and Distribution tasks. Deployment is performed on Metabolism, Excretion, and Toxicity tasks. Results are reported over three independent runs. Best results are in bold, with second best underlined.
원문 · CC BY 4.0 · Lakshmi Nair, Ian Trase, Mark Kim · Flow-of-Options: Diversified and Improved LLM Reasoning by Thinking Through Options · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.원문은 DeepMol이 ADME-Tox에 특화된 AutoML 방법이라고 설명합니다. 따라서 이 결과는 특정 기준선 집합과 특정 과제 범주에서의 비교로 읽어야 합니다.
강화학습과 이미지 생성으로의 적용
Cartpole Balancing에서 프레임워크는 Autogen의 Q-table이나 zero-shot의 무작위 정책과 달리 REINFORCE를 선택했다고 원문은 보고합니다. 또한 왼쪽 영역에 머무르는 제약을 추가한 변형에 대해 Adapter가 보상 함수를 수정하여 적응했다고 설명합니다.

Figure 21 : Example of the adapter LLM adapting to constraints of the new task in the case of cartpole balancing. From the original problem, the adapter modifies the methods to bias the cart to stay in the left of the arena.
원문 · CC BY 4.0 · Lakshmi Nair, Ian Trase, Mark Kim · Flow-of-Options: Diversified and Improved LLM Reasoning by Thinking Through Options · 원문 그림 인용 · 원본 PDF 22쪽에서 그림 영역을 추출했습니다.MNIST 이미지 생성에서는 생성 이미지와 원본 데이터의 SSIM을 측정했으며, 값이 높을수록 선호됩니다. 원문은 이 지표에서 개선을 보고하지만, 이 결과는 해당 과제와 지표에 한정된 관찰입니다.
잔여 편향과 일관성 검사의 한계
저자들은 FoO가 옵션 다양성을 높였지만 Random Forest에 대한 잔여 편향이 남아 있다고 밝힙니다. 또한 원문은 제안 방법이 옵션을 평가할 어떤 지표가 존재한다고 가정한다고 설명합니다. 지표가 명확하지 않은 경우에는 LLM을 평가자로 쓰는 대안이 제시되어 있습니다.

Figure 17 : Diversity of explored solutions across LLM-based agents for tabular tasks from Table 1 (shown for a subset of tabular tasks – WB, MC, ES, EC, and ST – for visual clarity). Y-axis denotes proportion of explored options across the tasks.
원문 · CC BY 4.0 · Lakshmi Nair, Ian Trase, Mark Kim · Flow-of-Options: Diversified and Improved LLM Reasoning by Thinking Through Options · 원문 그림 인용 · 원본 PDF 18쪽에서 그림 영역을 추출했습니다.일관성 검사 LLM은 일관된 경로를 불일치로 판정한 사례가 있었다고 보고됩니다. 이 경우 일부 유망한 경로가 탐색되지 않을 수 있습니다.
논문 정보
- 저자
- Lakshmi Nair, Ian Trase, Mark Kim
- 학회·저널
- arXiv · 프리프린트
- 최초 공개일
- 2025년 2월 18일
- 등록일
- 2026년 10월 29일
- 수정일
- 2025년 5월 30일
- 버전
- v2
- arXiv
- 2502.12929
- 분류
- cs.LG · cs.AI · cs.CL
- 원문 이용 조건
- CC BY 4.0
- 제공 범위
- 논문 정보, 해설, 허용된 원문 그림
AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.
초록
We present a novel reasoning approach called Flow-of-Options (FoO), designed to address intrinsic biases in Large Language Models (LLMs). Flow-of-Options enables LLMs to systematically explore a diverse range of possibilities in their reasoning, as demonstrated by an FoO-based agentic framework developed for autonomously solving Machine Learning (ML) tasks. FoO enforces diversity in LLM solutions through compressed and interpretable task representations, resulting in improvements of 38.2% - 69.2% on standard data science tasks, and 37.4% - 47.9% on therapeutic chemistry tasks, as compared to state-of-the-art baselines. With an overall operation cost under $1 per task, our framework is well-suited for cost-sensitive applications. Going beyond tabular classification and regression, we show the broader applicability of our FoO-based agentic system to tasks such as reinforcement learning and image generation. Our code is open-sourced at: https://github.com/flagshippioneering/Flow-of-Options.
원문 인용
Lakshmi Nair, Ian Trase, Mark Kim (2025). Flow-of-Options: Diversified and Improved LLM Reasoning by Thinking Through Options. arXiv:2502.12929v2. https://arxiv.org/abs/2502.12929v2
BibTeX
@misc{nair2025flow,
title = {{Flow-of-Options: Diversified and Improved LLM Reasoning by Thinking Through Options}},
author = {Lakshmi Nair and Ian Trase and Mark Kim},
year = {2025},
eprint = {2502.12929},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2502.12929v2}
}