Inverse Top Trading Cycles Enumeration Algorithm (ITEA)
- Inverse Top Trading Cycles Enumeration Algorithm (ITEA) is an algorithmic framework that systematically enumerates all Pareto-optimal allocations in one-sided matching problems by inverting the Top Trading Cycles mapping.
- ITEA reduces computational redundancy by partitioning the space of initial allocations into equivalence classes and applying dressup and devour routines to recover complete PO preimages.
- Empirical results demonstrate that ITEA achieves dramatic speed-ups over brute-force methods, enabling comprehensive analysis and secondary optimization in practical matching scenarios.
The Inverse Top Trading Cycles Enumeration Algorithm (ITEA) is an algorithmic framework for efficiently enumerating the complete set of Pareto-optimal (PO) allocations in one-sided matching problems with ordinal preferences. These problems, typified by the house-allocation model, have a set of agents and a set of indivisible objects (such as rooms or houses), where each agent possesses a strict preference ordering over the objects. While the classical Top Trading Cycles (TTC) mechanism yields a PO allocation from any initial endowment, it does not capture the full structure of the Pareto frontier, as many initial endowments can converge to the same PO allocation, and multiple distinct PO allocations may coexist. ITEA addresses the computational and conceptual limitations of brute-force approaches by partitioning the space of initial allocations into equivalence classes defined by the TTC mapping, systematically inverting this mapping to discover all PO allocations with improved efficiency and provable guarantees (Dodda et al., 23 Apr 2026).
1. One-Sided Matching and Pareto-Optimality
One-sided matching (house-allocation) problems involve a tuple :
- : set of agents.
- : set of indivisible objects.
- : agents' strict, ordinal preference profiles over .
An allocation (matching) is a bijection , with denoting the set of all such bijections (). A matching is Pareto-optimal if there is no other allocation such that all agents weakly prefer their allocation in 0 and at least one strictly prefers it: 1 The set of PO allocations is denoted 2.
2. The Top Trading Cycles Mechanism and Equivalence Classes
For any initial allocation 3, the TTC algorithm produces a unique PO outcome 4. However, many initial allocations can be mapped to the same PO allocation; the preimage 5 is the equivalence class of endowments converging to 6. This many-to-one mapping implies a non-trivial structure to the Pareto frontier that single TTC runs do not reveal.
3. Algorithmic Structure of ITEA
The brute-force approach enumerates all 7 initial allocations, applying TTC to each and collecting all unique outputs (8 operations, where 9 is the cost per TTC run). ITEA dramatically reduces redundant computations by:
- Maintaining a scan set initialized as 0.
- Iteratively selecting representatives from unexplored allocations, running TTC to obtain a PO allocation 1.
- For each new PO allocation, inverting TTC to find the entire equivalence class 2 via the dressup and devour routines.
- Removing all of 3 from the scan set, ensuring each initial allocation is processed exactly once.
The inversion process leverages a labeling scheme for objects (rooms): each is tagged as unmarked (4), circle (5), or square (6), depending on their role in the reconstruction of initial endowments. Dressup marks each agent’s top choice among non-fixed rooms as circles; devour recursively enumerates all orderings and promotions of circles to squares, systematically reconstructing every initial allocation in the equivalence class.
4. Formal Guarantees: Soundness and Completeness
ITEA is provably sound and complete:
- Soundness: Every allocation 7 output in the inverse step for outcome 8 satisfies 9. Backward induction through TTC rounds shows that the labeling and recursive permutations in devour correctly reproduce the preimages of 0.
- Completeness: Every initial endowment 1 with 2 is generated. By reversing the cycles of forward TTC, ITEA reconstructs all such allocations recursively via dressup and devour. These results guarantee the exhaustive and non-redundant enumeration of the entire set of PO allocations.
5. Computational Complexity and Empirical Performance
ITEA's performance depends on the interplay between 3, the full set of allocations, and 4, the number of PO outcomes. Its total time complexity is: 5
- Forward TTC calls: one per distinct 6, each with cost 7, yielding 8.
- Inverse enumeration (devour/dressup): processes each of the 9 labeled states in 0 time, for 1 overall. In contrast, brute-force enumeration's complexity is 2. The computational advantage of ITEA increases with smaller 3 compared to 4—typical for random preference profiles, where for 5, experimental results show 6, enabling almost 750-fold reduction in TTC calls. In the worst case, where 7, the savings vanish, and cost matches brute-force.
6. Illustrative Example and Mechanism Interpretation
Consider 8 agents and rooms, with preference orders:
- 9
- 0
- 1
All possible 2 initial allocations are partitioned under TTC into two PO outcomes 3 and 4. ITEA runs TTC on a representative 5 for 6, then uses dressup and devour to construct all 7 with 8, permuting and fixing the assigned rooms in a manner reflecting the cycles eliminated in the forward TTC. After enumerating and removing these, the process repeats for remaining unexplored allocations, ensuring no redundant TTC computations and a systematic recovery of the entire Pareto frontier.
7. Applications and Relevance
ITEA provides a rigorous and computationally tractable method for determining the full Pareto frontier in house-allocation and related one-sided matching settings. By characterizing all PO allocations, the algorithm enables subsequent secondary optimization for criteria such as fairness and welfare, which would be infeasible using only single TTC outcomes. Its performance benefits are especially pronounced in typical, randomly structured preference profiles, which arise in practical applications ranging from resource and facility assignments to distributed pooling systems (Dodda et al., 23 Apr 2026).
| Component | Role in ITEA | Complexity per Use |
|---|---|---|
| TTC | Computes unique PO allocation | 9 (list-based); 0 (pointer-based) |
| dressup | Marks agents' top eligible rooms | 1 |
| devour | Recursively reconstructs preimages | 2 per call |
ITEA thus systematically partitions all 3 initial endowments into disjoint TTC-equivalence classes, running TTC only once per class, and inverting the mechanism to recover every initial allocation in that class. It achieves provable soundness and completeness, factorial worst-case complexity, and typical speed-ups of orders of magnitude, enabling comprehensive Pareto frontier characterizations for secondary optimization and principled analysis in one-sided matching problems (Dodda et al., 23 Apr 2026).