It’s late, the coffee has worn off, and you’re probably looking at one last paper before calling it a night. If you’ve ever worked with LLMs for decision-making—like ranking search results or grading essays—you’ve likely run into a frustrating quirk: the model’s "brain" doesn't naturally understand the difference between a list of options and a numerical score.
The paper "DeciForm: Incorporating Task Structure into Decision Models" tackles this head-on. It argues that we shouldn't treat every decision like a generic classification problem. Instead, we should bake the structure of the answer space directly into how the model thinks and learns.
TL;DR
DeciForm is a framework that aligns a model’s architecture and training objectives with the actual nature of the task—whether it's picking from an unordered list or assigning an ordered numerical score. By isolating how candidates are processed and using distance-aware loss functions, it creates models that are more accurate, more stable, and completely immune to "order bias" (the annoying tendency of models to change their answer just because you shuffled the list).
What Problem Does This Paper Address?
In the world of "Decision Models," we usually ask a system to do one of three things:
- Choice: Pick the best passage from a list (Unordered set).
- Noul: Make a Boolean judgment, like "Yes" or "No" (Two semantic options).
- Score: Assign a quality rating from 1 to 10 (Ordered numerical values).
The problem is that standard models often treat these all the same—as a flat list of categories. But these spaces have different "shapes." In a Choice task, shuffling the list shouldn't change the outcome. In a Score task, the model needs to know that predicting a "4" when the answer is "5" is a much better mistake than predicting a "1."
Current models often fail to respect these distinctions, leading to inconsistent results and "order flips" where the model's preference changes based on the position of the text.
Methods
The authors introduce DeciForm, which implements three clever architectural shifts:
1. Candidate-Isolated Encoding
Instead of cramming the query and all possible answers into one long string (joint encoding), DeciForm encodes the query and each candidate separately.
- Why? This prevents "cross-talk" between candidates. A candidate's representation depends only on itself and the query, not on who its neighbors are in the list. This mathematically guarantees that the model's decision is invariant to reordering.
2. Log–Spherical Classification Objective
For Choice and Noul tasks, they move beyond standard cross-entropy. They add a "spherical-score" term that looks at the shape of the entire probability vector. It encourages the model to not just get the right answer, but to distribute its "doubt" across incorrect answers in a way that reflects the task's difficulty.
3. Distance-Aware Numerical Scoring
This is perhaps the most elegant part. For scoring, they use a decimal-prefix readout. Think of it like a tree: to predict "4.5," the model first picks "4," then the decimal point, then "5." To train this, they combine standard cross-entropy with a Cumulative Distribution Function (CDF) loss. This loss explicitly penalizes the model more for being "far away" from the true score, teaching it the intrinsic order of numbers.
Datasets
The authors didn't just test this on a toy problem; they used a massive mixture of 200,000 training requests across diverse benchmarks:
- Choice: AG News, Amazon Reviews, MNLI, CFPB.
- Noul: BoolQ, PAWS, QQP, HelpSteer3.
- Score: HelpSteer 1 & 2, Prometheus feedback, SST-5, and ASAP (essay scoring).
- Ranking: They also adapted the model to the MIND-small dataset for personalized news recommendation.
Key Insights and Ideas
- Isolation is a Feature, Not a Bug: You might think that letting candidates "see" each other would help the model compare them. The paper shows the opposite: isolating them actually improves predictive metrics while eliminating the instability of list reordering.
- The "Shape" of the Loss Matters: By using the log-spherical objective, the model learns a more robust representation of categorical choices.
- Numbers aren't Labels: Treating a score of "5" as just another label (like "Cat" or "Dog") wastes valuable information. The CDF loss allows the model to leverage the mathematical distance between scores.
Key Results
DeciForm was tested on two very different backbones: Qwen (causal/decoder-only) and ModernBERT (bidirectional/encoder-only).
- Zero Flips: In tests where the candidate order was reversed or shuffled, DeciForm had a 0.00% flip rate, whereas baseline models flipped their answers up to 16% of the time.
- Better Accuracy: On the Qwen backbone, DeciForm improved Choice accuracy from 76.04% to 77.38% and significantly reduced Mean Absolute Error (MAE) in scoring tasks.
- Ranking Gains: On the MIND news ranking task, DeciForm (Qwen) saw a massive jump in Mean Reciprocal Rank (MRR), gaining 5.53 points over the baseline.
Limitations and Future Work
The authors are transparent about a few things:
- Computational Cost: Because DeciForm encodes candidates separately, it can be slightly slower (higher latency) than joint encoding models that process everything in one pass.
- Scope: The study used one training seed per configuration, meaning they haven't yet mapped out the full variance across multiple training runs.
- Adaptation: While the model excels at the three core decision types, future work could explore how this structure-aware approach handles even more complex "structured" outputs beyond simple numbers and choices.
If you're building agents that need to make reliable, stable decisions, DeciForm suggests that the secret isn't just a bigger model—it's a model that actually understands the "rules of the game" for the task at hand. Now, go get some sleep.
Summary updated